<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\GoodsUpload
 *
 * @property int $file_id
 * @property int $goods_id 商品id
 * @property string $file_url 文件链接地址
 * @property string $file_desc 文件描述
 * @property int|null $sort_order 排序
 * @property string $file_name 附件名字
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload query()
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload whereFileDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload whereFileId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload whereFileName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload whereFileUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|GoodsUpload whereSortOrder($value)
 * @mixin \Eloquent
 */
class GoodsUpload extends Model
{
    protected $table = 'goods_upload';
    protected $primaryKey = 'file_id';
    protected $fillable = ['file_id','goods_id','file_url','file_desc','sort_order','file_name'];

    public $timestamps = false;
}
